package com.zhongli.devplatform.utils.user;

import java.security.NoSuchAlgorithmException;

/**
 * 生成初始密码
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/23 13:27
 */
public class InitPasswordUtil {

    public static String createPassword() {
        String md5Password = null;
        try {
            md5Password = Encrypt.getMD5Password("123456");
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        }
        return md5Password;
    }

    public static void main(String[] args) {
        System.out.println(createPassword());
    }

}
